package com.team11.server.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.LocalTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author pjc
 * @since 2021-07-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("a_information")
@ApiModel(value="AInformation对象", description="")
public class AInformation implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "考勤id")
    @TableId(value = "a_id", type = IdType.AUTO)
    private Integer aId;

    @ApiModelProperty(value = "学生id")
    @TableField("sid")
    private Integer sId;

    @ApiModelProperty(value = "考勤情况")
    @TableField("a_state")
    private Integer aState;

    @ApiModelProperty(value = "实签到")
    @TableField("a_real_in")
    private LocalTime aRealIn;

    @ApiModelProperty(value = "实签退")
    @TableField("a_real_out")
    private LocalTime aRealOut;

    @ApiModelProperty(value = "上课id")
    @TableField("sk_id")
    private Integer skId;

}
